#
# Be sure to run `pod lib lint TYLoginBusinessSDK.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'TYLoginBusinessSDK'
  s.version          = '1.0.0'
  s.summary          = 'A short description of TYLoginBusinessSDK.'
  
# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'http://172.16.8.12/iOS-Libraries/BusinessComponents/TYLoginBusinessSDK'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'js_safi' => 'jssafi@itcom888.com' }
  s.source           = { :git => 'http://172.16.8.12/iOS-Libraries/BusinessComponents/TYLoginBusinessSDK.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
  s.static_framework = true

  s.ios.deployment_target = '9.0'

  #s.source_files = 'TYLoginBusinessSDK/Classes/**/*'

  s.public_header_files = 'TYLoginBusinessSDK/Classes/Source/TYLoginBusinessSDKHeader.h'
  s.source_files = 'TYLoginBusinessSDK/Classes/Source/TYLoginBusinessSDKHeader.h'
  s.default_subspec = 'Common'
  
  s.subspec 'Common' do |common|
    common.source_files = 'TYLoginBusinessSDK/Classes/Source/Common/**/*'
    common.dependency 'YYModel', '~> 1.0.4'
    common.dependency 'TYFoundation', '~> 1.0.0'
    common.dependency 'TYInstallSDK'
    common.dependency 'TYLogSDK'
    common.dependency 'TYWalletServicesSDK'
    common.dependency 'TYAccountServicesSDK', '~> 1.0.0.40'
    common.dependency 'TYGenericServicesSDK'
    common.dependency 'BlocksKit'
    common.dependency 'Masonry'
    common.dependency 'libOpenInstallSDK', '2.2.1.1'
    
  end
  
  s.subspec 'Sports' do |sports|
    sports.source_files = 'TYLoginBusinessSDK/Classes/Source/Sports/**/*'
    sports.dependency 'TYLoginBusinessSDK/Common'
    sports.dependency 'TYBet188SDK'
    sports.dependency 'TYGenericServicesSDK/Sports'

  end
  
  # s.resource_bundles = {
  #   'TYLoginBusinessSDK' => ['TYLoginBusinessSDK/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end
